package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_Boutique", catalog="Id")
public class TpBoutique extends BaseEntity<TpBoutique> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="CodeMerge", nameJava="codeMerge", typeDataBase="varchar")
	private String codeMerge;
	@YsField(nameDataBase="BoutiqueIsEffect", nameJava="boutiqueIsEffect", typeDataBase="tinyint")
	private Integer boutiqueIsEffect;
	@YsField(nameDataBase="Period", nameJava="period", typeDataBase="varchar")
	private String period;
	@YsField(nameDataBase="PurchasePrice", nameJava="purchasePrice", typeDataBase="varchar")
	private String purchasePrice;
	@YsField(nameDataBase="Type", nameJava="type", typeDataBase="tinyint")
	private Integer type;
	@YsField(nameDataBase="FloorPriceUsa", nameJava="floorPriceUsa", typeDataBase="decimal")
	private BigDecimal floorPriceUsa;
	@YsField(nameDataBase="RetailPriceUsa", nameJava="retailPriceUsa", typeDataBase="decimal")
	private BigDecimal retailPriceUsa;
	@YsField(nameDataBase="CostUsa", nameJava="costUsa", typeDataBase="decimal")
	private BigDecimal costUsa;
	@YsField(nameDataBase="GrossMarginUsa", nameJava="grossMarginUsa", typeDataBase="decimal")
	private BigDecimal grossMarginUsa;
	@YsField(nameDataBase="CapitalOutoutRatioUsa", nameJava="capitalOutoutRatioUsa", typeDataBase="decimal")
	private BigDecimal capitalOutoutRatioUsa;
	@YsField(nameDataBase="DeliveryFeeUsa", nameJava="deliveryFeeUsa", typeDataBase="decimal")
	private BigDecimal deliveryFeeUsa;
	@YsField(nameDataBase="FloorPriceUk", nameJava="floorPriceUk", typeDataBase="decimal")
	private BigDecimal floorPriceUk;
	@YsField(nameDataBase="RetailPriceUk", nameJava="retailPriceUk", typeDataBase="decimal")
	private BigDecimal retailPriceUk;
	@YsField(nameDataBase="CostUk", nameJava="costUk", typeDataBase="decimal")
	private BigDecimal costUk;
	@YsField(nameDataBase="GrossMarginUk", nameJava="grossMarginUk", typeDataBase="decimal")
	private BigDecimal grossMarginUk;
	@YsField(nameDataBase="CapitalOutoutRatioUk", nameJava="capitalOutoutRatioUk", typeDataBase="decimal")
	private BigDecimal capitalOutoutRatioUk;
	@YsField(nameDataBase="DeliveryFeeUk", nameJava="deliveryFeeUk", typeDataBase="decimal")
	private BigDecimal deliveryFeeUk;
	@YsField(nameDataBase="OriginPriceRange", nameJava="originPriceRange", typeDataBase="varchar")
	private String originPriceRange;
	@YsField(nameDataBase="OriginPriceMin", nameJava="originPriceMin", typeDataBase="decimal")
	private BigDecimal originPriceMin;
	@YsField(nameDataBase="OriginPriceMax", nameJava="originPriceMax", typeDataBase="decimal")
	private BigDecimal originPriceMax;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="WeightPackage", nameJava="weightPackage", typeDataBase="varchar")
	private String weightPackage;
	@YsField(nameDataBase="SizePackage", nameJava="sizePackage", typeDataBase="varchar")
	private String sizePackage;
	@YsField(nameDataBase="Advantage", nameJava="advantage", typeDataBase="varchar")
	private String advantage;
	@YsField(nameDataBase="Videolink", nameJava="videolink", typeDataBase="text")
	private String videolink;
	@YsField(nameDataBase="LinkJpUk", nameJava="linkJpUk", typeDataBase="text")
	private String linkJpUk;
	@YsField(nameDataBase="LinkJpUs", nameJava="linkJpUs", typeDataBase="text")
	private String linkJpUs;
	@YsField(nameDataBase="CoverImg", nameJava="coverImg", typeDataBase="text")
	private String coverImg;
	@YsField(nameDataBase="NumBuyerOld", nameJava="numBuyerOld", typeDataBase="int")
	private Integer numBuyerOld;
	@YsField(nameDataBase="NumSaleOld", nameJava="numSaleOld", typeDataBase="int")
	private Integer numSaleOld;
	@YsField(nameDataBase="NumBuyerNew", nameJava="numBuyerNew", typeDataBase="int")
	private Integer numBuyerNew;
	@YsField(nameDataBase="NumSaleNew", nameJava="numSaleNew", typeDataBase="int")
	private Integer numSaleNew;
	@YsField(nameDataBase="AuthType", nameJava="authType", typeDataBase="tinyint")
	private Integer authType;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpBoutique setId(Long id) {
		this.id = id;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TpBoutique setCode(String code) {
		this.code = code;
		return this;
	}
	public String getName() {
		return name;
	}
	public TpBoutique setName(String name) {
		this.name = name;
		return this;
	}
	public String getCodeMerge() {
		return codeMerge;
	}
	public TpBoutique setCodeMerge(String codeMerge) {
		this.codeMerge = codeMerge;
		return this;
	}
	public Integer getBoutiqueIsEffect() {
		return boutiqueIsEffect;
	}
	public TpBoutique setBoutiqueIsEffect(Integer boutiqueIsEffect) {
		this.boutiqueIsEffect = boutiqueIsEffect;
		return this;
	}
	public String getPeriod() {
		return period;
	}
	public TpBoutique setPeriod(String period) {
		this.period = period;
		return this;
	}
	public String getPurchasePrice() {
		return purchasePrice;
	}
	public TpBoutique setPurchasePrice(String purchasePrice) {
		this.purchasePrice = purchasePrice;
		return this;
	}
	public Integer getType() {
		return type;
	}
	public TpBoutique setType(Integer type) {
		this.type = type;
		return this;
	}
	public BigDecimal getFloorPriceUsa() {
		return floorPriceUsa;
	}
	public TpBoutique setFloorPriceUsa(BigDecimal floorPriceUsa) {
		this.floorPriceUsa = floorPriceUsa;
		return this;
	}
	public BigDecimal getRetailPriceUsa() {
		return retailPriceUsa;
	}
	public TpBoutique setRetailPriceUsa(BigDecimal retailPriceUsa) {
		this.retailPriceUsa = retailPriceUsa;
		return this;
	}
	public BigDecimal getCostUsa() {
		return costUsa;
	}
	public TpBoutique setCostUsa(BigDecimal costUsa) {
		this.costUsa = costUsa;
		return this;
	}
	public BigDecimal getGrossMarginUsa() {
		return grossMarginUsa;
	}
	public TpBoutique setGrossMarginUsa(BigDecimal grossMarginUsa) {
		this.grossMarginUsa = grossMarginUsa;
		return this;
	}
	public BigDecimal getCapitalOutoutRatioUsa() {
		return capitalOutoutRatioUsa;
	}
	public TpBoutique setCapitalOutoutRatioUsa(BigDecimal capitalOutoutRatioUsa) {
		this.capitalOutoutRatioUsa = capitalOutoutRatioUsa;
		return this;
	}
	public BigDecimal getDeliveryFeeUsa() {
		return deliveryFeeUsa;
	}
	public TpBoutique setDeliveryFeeUsa(BigDecimal deliveryFeeUsa) {
		this.deliveryFeeUsa = deliveryFeeUsa;
		return this;
	}
	public BigDecimal getFloorPriceUk() {
		return floorPriceUk;
	}
	public TpBoutique setFloorPriceUk(BigDecimal floorPriceUk) {
		this.floorPriceUk = floorPriceUk;
		return this;
	}
	public BigDecimal getRetailPriceUk() {
		return retailPriceUk;
	}
	public TpBoutique setRetailPriceUk(BigDecimal retailPriceUk) {
		this.retailPriceUk = retailPriceUk;
		return this;
	}
	public BigDecimal getCostUk() {
		return costUk;
	}
	public TpBoutique setCostUk(BigDecimal costUk) {
		this.costUk = costUk;
		return this;
	}
	public BigDecimal getGrossMarginUk() {
		return grossMarginUk;
	}
	public TpBoutique setGrossMarginUk(BigDecimal grossMarginUk) {
		this.grossMarginUk = grossMarginUk;
		return this;
	}
	public BigDecimal getCapitalOutoutRatioUk() {
		return capitalOutoutRatioUk;
	}
	public TpBoutique setCapitalOutoutRatioUk(BigDecimal capitalOutoutRatioUk) {
		this.capitalOutoutRatioUk = capitalOutoutRatioUk;
		return this;
	}
	public BigDecimal getDeliveryFeeUk() {
		return deliveryFeeUk;
	}
	public TpBoutique setDeliveryFeeUk(BigDecimal deliveryFeeUk) {
		this.deliveryFeeUk = deliveryFeeUk;
		return this;
	}
	public String getOriginPriceRange() {
		return originPriceRange;
	}
	public TpBoutique setOriginPriceRange(String originPriceRange) {
		this.originPriceRange = originPriceRange;
		return this;
	}
	public BigDecimal getOriginPriceMin() {
		return originPriceMin;
	}
	public TpBoutique setOriginPriceMin(BigDecimal originPriceMin) {
		this.originPriceMin = originPriceMin;
		return this;
	}
	public BigDecimal getOriginPriceMax() {
		return originPriceMax;
	}
	public TpBoutique setOriginPriceMax(BigDecimal originPriceMax) {
		this.originPriceMax = originPriceMax;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TpBoutique setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public String getWeightPackage() {
		return weightPackage;
	}
	public TpBoutique setWeightPackage(String weightPackage) {
		this.weightPackage = weightPackage;
		return this;
	}
	public String getSizePackage() {
		return sizePackage;
	}
	public TpBoutique setSizePackage(String sizePackage) {
		this.sizePackage = sizePackage;
		return this;
	}
	public String getAdvantage() {
		return advantage;
	}
	public TpBoutique setAdvantage(String advantage) {
		this.advantage = advantage;
		return this;
	}
	public String getVideolink() {
		return videolink;
	}
	public TpBoutique setVideolink(String videolink) {
		this.videolink = videolink;
		return this;
	}
	public String getLinkJpUk() {
		return linkJpUk;
	}
	public TpBoutique setLinkJpUk(String linkJpUk) {
		this.linkJpUk = linkJpUk;
		return this;
	}
	public String getLinkJpUs() {
		return linkJpUs;
	}
	public TpBoutique setLinkJpUs(String linkJpUs) {
		this.linkJpUs = linkJpUs;
		return this;
	}
	public String getCoverImg() {
		return coverImg;
	}
	public TpBoutique setCoverImg(String coverImg) {
		this.coverImg = coverImg;
		return this;
	}
	public Integer getNumBuyerOld() {
		return numBuyerOld;
	}
	public TpBoutique setNumBuyerOld(Integer numBuyerOld) {
		this.numBuyerOld = numBuyerOld;
		return this;
	}
	public Integer getNumSaleOld() {
		return numSaleOld;
	}
	public TpBoutique setNumSaleOld(Integer numSaleOld) {
		this.numSaleOld = numSaleOld;
		return this;
	}
	public Integer getNumBuyerNew() {
		return numBuyerNew;
	}
	public TpBoutique setNumBuyerNew(Integer numBuyerNew) {
		this.numBuyerNew = numBuyerNew;
		return this;
	}
	public Integer getNumSaleNew() {
		return numSaleNew;
	}
	public TpBoutique setNumSaleNew(Integer numSaleNew) {
		this.numSaleNew = numSaleNew;
		return this;
	}
	public Integer getAuthType() {
		return authType;
	}
	public TpBoutique setAuthType(Integer authType) {
		this.authType = authType;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpBoutique setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpBoutique setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpBoutique setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpBoutique tpBoutique(
		String code,
		String name,
		String codeMerge,
		Integer boutiqueIsEffect,
		String period,
		String purchasePrice,
		Integer type,
		BigDecimal floorPriceUsa,
		BigDecimal retailPriceUsa,
		BigDecimal costUsa,
		BigDecimal grossMarginUsa,
		BigDecimal capitalOutoutRatioUsa,
		BigDecimal deliveryFeeUsa,
		BigDecimal floorPriceUk,
		BigDecimal retailPriceUk,
		BigDecimal costUk,
		BigDecimal grossMarginUk,
		BigDecimal capitalOutoutRatioUk,
		BigDecimal deliveryFeeUk,
		String originPriceRange,
		BigDecimal originPriceMin,
		BigDecimal originPriceMax,
		String remark,
		String weightPackage,
		String sizePackage,
		String advantage,
		String videolink,
		String linkJpUk,
		String linkJpUs,
		String coverImg,
		Integer numBuyerOld,
		Integer numSaleOld,
		Integer numBuyerNew,
		Integer numSaleNew,
		Integer authType,
		Integer status
			) {
		TpBoutique entity = new TpBoutique();
		entity.setCode(code);
		entity.setName(name);
		entity.setCodeMerge(codeMerge);
		entity.setBoutiqueIsEffect(boutiqueIsEffect);
		entity.setPeriod(period);
		entity.setPurchasePrice(purchasePrice);
		entity.setType(type);
		entity.setFloorPriceUsa(floorPriceUsa);
		entity.setRetailPriceUsa(retailPriceUsa);
		entity.setCostUsa(costUsa);
		entity.setGrossMarginUsa(grossMarginUsa);
		entity.setCapitalOutoutRatioUsa(capitalOutoutRatioUsa);
		entity.setDeliveryFeeUsa(deliveryFeeUsa);
		entity.setFloorPriceUk(floorPriceUk);
		entity.setRetailPriceUk(retailPriceUk);
		entity.setCostUk(costUk);
		entity.setGrossMarginUk(grossMarginUk);
		entity.setCapitalOutoutRatioUk(capitalOutoutRatioUk);
		entity.setDeliveryFeeUk(deliveryFeeUk);
		entity.setOriginPriceRange(originPriceRange);
		entity.setOriginPriceMin(originPriceMin);
		entity.setOriginPriceMax(originPriceMax);
		entity.setRemark(remark);
		entity.setWeightPackage(weightPackage);
		entity.setSizePackage(sizePackage);
		entity.setAdvantage(advantage);
		entity.setVideolink(videolink);
		entity.setLinkJpUk(linkJpUk);
		entity.setLinkJpUs(linkJpUs);
		entity.setCoverImg(coverImg);
		entity.setNumBuyerOld(numBuyerOld);
		entity.setNumSaleOld(numSaleOld);
		entity.setNumBuyerNew(numBuyerNew);
		entity.setNumSaleNew(numSaleNew);
		entity.setAuthType(authType);
		entity.setStatus(status);
		return entity;
	}
}